home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / lib / python2.4 / site-packages / pyqtconfig.py < prev    next >
Encoding:
Python Source  |  2007-02-20  |  391 b   |  19 lines

  1. # import the pyqtconfig.py for the normal or the debug build
  2.  
  3. import sys
  4.  
  5. try:
  6.     _pydebug_ = sys.pydebug
  7. except AttributeError:
  8.     _pydebug_ = False
  9.  
  10. if _pydebug_:
  11.     try:
  12.         from pyqtconfig_d import *
  13.     except ImportError, msg:
  14.         raise ImportError, 'No module named pyqtconfig; package python-qt3-dbg not installed'
  15. else:
  16.     from pyqtconfig_nd import *
  17.     
  18. del _pydebug_
  19.